<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="utf-8">
	<title>淘天机站群系统管理后台</title>
	<!-- include header_meta -->
</head>
<body>
	<!-- include header -->
	<div class="cp-wrap {if $jnarrow}jnarrow{/if}">
		<div class="crumb"></div>
		<div class="cp-table-top">
			<input type="submit" class="btn" value="添加广告位" onclick="window.location.href='?m=ads&a=add' ">
		</div>
		<div class="cp-table">
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
				<tbody>
					<tr>
						<th width="50" align="left">ID</th>
						<th align="left">广告位名称</th>
						<th align="left">代码调用</th>
						<th width="100"  align="left">状态</th>
						<th width="100" align="center">操作</th>
					</tr>
					<!-- foreach $list -->
					<tr>
						<td align="left">{$id}</td>
						<td align="left"> {$title}</td>
						<td align="left"> <input value="&lt;!-- tag::ad('{$abc}') --&gt;" style="border:0px;background:#f1f3f6;" onclick="$(this).select();"></td>
						<td align="left">
							{if $status=="1"}
							启用
							{elseif $status=="0"}
							禁用
							{/if}
						</td>
						<td align="center">
							<a href="?m=ads&a=edit&id={$id}">修改</a>
							<a href="?m=ads&a=del&id={$id}" onclick="return confirm('?')">删除</a>
						</td>
					</tr>
					<!-- /foreach -->
				</tbody>
			</table>
		</div>
		<!-- if empty($list) -->
		<div class="noresult">暂时没有可显示数据</div>
		<!-- /if -->
		<div class="cp-pages">
			{$page}
		</div>
	</div>
	<!-- include footer -->
	<script>
	</script>
</body>
</html>